dm: Convert bios_interrupts to use DM PCI API
authorSimon Glass <[email protected]>
Sun, 29 Nov 2015 20:17:56 +0000 (13:17 -0700)
committerSimon Glass <[email protected]>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit7d8e4042f19eafcb24eeabbf10830aa21c3b700c
tree4f6d0bc003bda0646c289d21b59e5e4f5b8a4ec8
parent9bf727fcc4743d06ba665f104e951b47f5029d56
dm: Convert bios_interrupts to use DM PCI API

Adjust this code to use driver model for devices where possible. Since
existing users have not been converted the old code must remain.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
arch/x86/lib/bios_interrupts.c